package org.cloudie.docs.editor.client.commands.generic;

import org.cloudie.docs.editor.client.commands.Command;

public class FeedEntryCopyCommand extends Command {

  public final static int serialUid = 48;
  
  private String entryId, parentEntryId;
  private int newX, newY;
  
  public FeedEntryCopyCommand(String entryId, String parentEntryId, int newX, int newY) {
	super("Copy feed entry.");
	this.entryId = entryId;
	this.parentEntryId = parentEntryId;
	this.newX = newX;
	this.newY = newY;
  }

  public int getNewX() {
    return newX;
  }
  
  public void setNewX(int newX) {
    this.newX = newX;
  }

  public int getNewY() {
    return newY;
  }

  public void setNewY(int newY) {
    this.newY = newY;
  }
  
  public String getEntryId() {
    return entryId;
  }

  public void setEntryId(String entryId) {
    this.entryId = entryId;
  }

  public String getParentEntryId() {
    return parentEntryId;
  }

  public void setParentEntryId(String parentEntryId) {
    this.parentEntryId = parentEntryId;
  }

  @Override
  public int getCommandId() {
    return serialUid;
  }

}
